home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / public / fax / src / faxd / Makefile < prev    next >
Makefile  |  1994-08-01  |  2KB  |  97 lines

  1. #! smake
  2. #    $Header: /usr/people/sam/fax/faxd/RCS/Makefile,v 1.60 1994/02/28 14:14:15 sam Rel $
  3. #
  4. # FlexFAX Facsimile Software
  5. #
  6. # Copyright (c) 1990, 1991, 1992, 1993, 1994 Sam Leffler
  7. # Copyright (c) 1991, 1992, 1993, 1994 Silicon Graphics, Inc.
  8. # Permission to use, copy, modify, distribute, and sell this software and 
  9. # its documentation for any purpose is hereby granted without fee, provided
  10. # that (i) the above copyright notices and this permission notice appear in
  11. # all copies of the software and related documentation, and (ii) the names of
  12. # Sam Leffler and Silicon Graphics may not be used in any advertising or
  13. # publicity relating to the software without the specific, prior written
  14. # permission of Sam Leffler and Silicon Graphics.
  15. # THE SOFTWARE IS PROVIDED "AS-IS" AND WITHOUT WARRANTY OF ANY KIND, 
  16. # EXPRESS, IMPLIED OR OTHERWISE, INCLUDING WITHOUT LIMITATION, ANY 
  17. # WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  
  18. # IN NO EVENT SHALL SAM LEFFLER OR SILICON GRAPHICS BE LIABLE FOR
  19. # ANY SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY KIND,
  20. # OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
  21. # WHETHER OR NOT ADVISED OF THE POSSIBILITY OF DAMAGE, AND ON ANY THEORY OF 
  22. # LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 
  23. # OF THIS SOFTWARE.
  24. #
  25. DEPTH=..
  26. include ${DEPTH}/defs
  27.  
  28. CFILES=\
  29.     tif_compress.c \
  30.     ${NULL}
  31. C++FILES=\
  32.     FaxModem.c++ \
  33.     HDLCFrame.c++ \
  34.     ModemConfig.c++ \
  35.     \
  36.     Everex.c++ \
  37.     EverexPoll.c++ \
  38.     EverexRecv.c++ \
  39.     EverexSend.c++ \
  40.     Class1.c++ \
  41.     Class1Poll.c++ \
  42.     Class1Send.c++ \
  43.     Class1Recv.c++ \
  44.     Class2.c++ \
  45.     Class2Params.c++ \
  46.     Class2Poll.c++ \
  47.     Class2Recv.c++ \
  48.     Class2Send.c++ \
  49.     \
  50.     Class2Ersatz.c++ \
  51.     Class20.c++ \
  52.     \
  53.     FaxServer.c++ \
  54.     FaxPoll.c++ \
  55.     FaxRecv.c++ \
  56.     FaxSend.c++ \
  57.     FaxRecvInfo.c++ \
  58.     FaxRequest.c++ \
  59.     FaxMachineInfo.c++ \
  60.     FaxMachineLog.c++ \
  61.     UUCPLock.c++ \
  62.     \
  63.     Getty.c++ \
  64.     ${SYSGETTY} \
  65.     \
  66.     faxServerApp.c++ \
  67.     ${NULL}
  68. TARGETS=faxd
  69.  
  70. LLDLIBS= ${LIBS} ${MACHDEPLIBS} -lm
  71.  
  72. default all::
  73.     @${MAKE} incdepend
  74.     @${MAKE} targets
  75.  
  76. targets: $(TARGETS)
  77.  
  78. include ${COMMONRULES}
  79.  
  80. faxd:    ${OBJECTS} ${LIBS}
  81.     ${C++F} -o $@ ${OBJECTS} ${LDFLAGS}
  82.  
  83. UUCPLock.o: UUCPLock.c++
  84.     ${C++F} -c ${C++FILE} \
  85.         -DUUCP_LOCKTYPE=${UUCP_LOCKTYPE} \
  86.         -DUUCP_LOCKMODE=${UUCP_LOCKMODE} \
  87.         -DUUCP_LOCKDIR=\"${UUCP_LOCKDIR}\" \
  88.         UUCPLock.c++
  89.  
  90. PUTSERV=${INSTALL} -idb ${PRODUCT}.sw.server
  91.  
  92. install: default
  93.     ${PUTSERV} -F ${USRETC} -u ${FAXUSER} -m 4755 -O faxd
  94.